package org.apache.ibatis.demo.decorationTest2;

/**
 * @Date 2021/2/21 18:01
 * @Created mobian
 * @Description
 */
public class ScoreDecoration1  extends AbstractScoreDecoration{

  IScoreRepo delegate;

  public ScoreDecoration1() {
  }

  public ScoreDecoration1(IScoreRepo delegate) {
    this.delegate = delegate;
  }

  @Override
  public void showScoreResult(){
    delegate.showScoreResult();
    System.out.println("对成绩第一次进行修饰");
  }
}
